task :environment do
  Bundler.require(:default)
  require "#{File.dirname(__FILE__)}/app"
end

namespace :assets do
  desc 'Precompile assets'
  task :precompile => :environment do
    Sinatra::Application.assets.precompile
  end
end
